<form class="form-horizontal" action="${htmlForm.htmlAction}" method="POST" >
  <input type="hidden" name="_TABLE_NAME_" value="${htmlForm.tableName}" />
  <#list htmlForm.items as item >
  <div class="form-group" <#if item.isDisplay == "false">style="display:none;"</#if> >
    <label for="${item.inputName}" class="col-sm-2 control-label">${item.label}</label>
    <div class="col-sm-8">
      <#if item.htmlTag == "input">
      <${item.htmlTag} type="${item.tagType}" class="form-control" name="${item.inputName}" id="${item.inputName}" placeholder="${item.label}">
      </#if>
	  <#if item.htmlTag == "select">
       <${item.htmlTag} name="${item.inputName}" class="form-control" id="${item.inputName}" >
       	<#list item.fkValues?keys as key>
		<option value="${key}" >${item.fkValues[key]}</option>
		</#list>
       </${item.htmlTag}>
	  </#if>
    </div>
  </div>
  </#list>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-8">
      <button type="submit" class="btn btn-default">提交</button>
    </div>
  </div>
</form>